projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55dd52a
)
hikey: add delay after eMMC initialized
author
Haojian Zhuang
<
[email protected]
>
Wed, 31 Oct 2018 09:41:35 +0000
(17:41 +0800)
committer
Haojian Zhuang
<
[email protected]
>
Wed, 31 Oct 2018 09:41:35 +0000
(17:41 +0800)
It boots failure on CircuitCo HiKey board. The delay could fix the
hang issue.
Signed-off-by: Haojian Zhuang <
[email protected]
>
plat/hisilicon/hikey/hikey_bl2_setup.c
patch
|
blob
|
history
diff --git
a/plat/hisilicon/hikey/hikey_bl2_setup.c
b/plat/hisilicon/hikey/hikey_bl2_setup.c
index aad350bf81ad01533f11ee9796852cff799dabf4..4a27e1bf371e886845f5a76cb885cfd824e0d378 100644
(file)
--- a/
plat/hisilicon/hikey/hikey_bl2_setup.c
+++ b/
plat/hisilicon/hikey/hikey_bl2_setup.c
@@
-9,6
+9,7
@@
#include <bl_common.h>
#include <console.h>
#include <debug.h>
+#include <delay_timer.h>
#include <desc_image_load.h>
#include <dw_mmc.h>
#include <errno.h>
@@
-333,6
+334,7
@@
void bl2_platform_setup(void)
params.flags = MMC_FLAG_CMD23;
info.mmc_dev_type = MMC_IS_EMMC;
dw_mmc_init(¶ms, &info);
+ mdelay(5);
hikey_io_setup();
}